This paper mainly from the following several convenient to explain file archiving and compression, while comparing the compression ratios and characteristics of several different compression methods.
File Archive command tar,tar.gz source
The most common packaging in LinuxProgramThe package we use the tarprogram is often called a tarpackage, and the command of the tarpackage file is always ended with .tar. After the tar package is generated, you can use other programsLine compression,
In the Linux operating system, the compression and decompressing of the *. zip, *. tar, * .tar.gz, * .tar.bz2, *. tar. xz, *. jar, and * .7z formats are as follows: .tar.gz.tar.bz2Zip Format
Compression: zip-r folder target file name. zip [original
One, zip compressionInstall Zip and unzip firstYum Install-y Zip/unzipzip 1.txt.zip 1.txtCompressed file 1.txt, compressed filename is called 1.txt.zip zip -r 123.zip 123/Compressed folder 123/specified name 123.zip unzip 1.txt.zipThe zip file
Gzip, bzip2, tar, zip command usage details 1. gzipgzip is a GNU compression program. It only compresses a single file. The basic usage is as follows: after the $ gzip filenameprogram is executed, the file name is changed to filename.gz, And the
Compression, decompression is the daily work of the two common operations, for Windows platform, the most commonly used format is zip and rar, most of the domestic use of RAR, most of the foreign is using zip.
For Unix-like platforms, the commonly
Tar, 7z (7zip) compression/Decompression command, 7z7zip
This document describes how to use tar and 7z commands.Tar command
In Linux, the most commonly used compression/Decompression command is the tar command.
The tar command is used to package the
1, first of all, we first say why there are three formats:(1) RAR format: RAR format is the first compression method, it is mainly used for the compression of some files of commercial organizations, it can be based on the requirements of different
Tar zxvf ut6410-android2.1.tgz
Tar zcvf ut6410-android2.1.tgz ut6410-android2.1/tar -- exclude ut6410-android2.1/out-zcvf ut6410-android2.1.tgz ut6410-android2.1/
Tar command
[Root @ Linux ~] # Tar [-cxtzjvfppn] file and directory ....
Parameters:
Access to the server through SSH, it is inevitable to use compression, decompression, packaging, unpack, etc., this time the tar command is essential to a powerful tool. The most popular tar in Linux is though small, spite, and powerful.
The tar
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.